﻿<!-- Форма добавления комментариев --> 
<font color="#ff0000">$ERROR$</font>
<style type="text/css"> 
<!--
#bbcodes {display:none;}
.selectors {
 height: 26px;
 width: auto;
}
-->
 </style>
<div align="center">
  <div style="width:460px;">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="comments-form">
      <?if($USER_LOGGED_IN$)?>
      <tr>
        <td colspan="2" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div id="bbcodes">$BBCODES$</div></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/b.gif" title="Жирный" onclick="simpletag('b')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/i.gif" title="Курсив" onclick="simpletag('i')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/u.gif" title="Подчеркнутый" onclick="simpletag('u')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/s.gif" title="Зачеркнутый" onclick="simpletag('s')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/image.gif" title="Добавить Картинку" onclick="tag_image()" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/link.gif" title="Вставить ссылку" onclick="tag_url()" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/email.gif" title="Вставить email" onclick="tag_email()" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/code.gif" title="Код" onclick="simpletag('code')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/quote.gif" title="Цитата" onclick="simpletag('quote')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/l.gif" title="По левому краю" onclick="simpletag('l')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/c.gif" title="По центру" onclick="simpletag('c')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/r.gif" title="По правому краю" onclick="simpletag('r')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/hide.gif" title="hide" onclick="simpletag('hide')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/translit.gif" title="Транслит" onclick="simpletag('translit')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/close.gif" title="Close" onclick="closeall()" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/mp3.gif" title="Аудио" onclick="simpletag('audio')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/mp.gif" title="Video" onclick="simpletag('video')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><a href="javascript://" onclick="window.open('/index/17','options','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="/bbcodes/ide.gif" title="все коды" alt="" /></a></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/emo.gif" title="Cмайл" onclick="openLayerB('Sml',0,'/index/35-1-0','Полный список смайлов',250,300);return false;" border="0" alt="" /></td>
            </tr>
          </table>
          <div class="clear"></div></td>
      </tr>
      <?else?>
      <tr>
        <td colspan="2"><table class="tableform" align="left">
            <tr class="fieldtr">
              <td><input name="name" id="name" class="f_input" type="text" /></td>
              <td class="label">Имя / Логин</td>
            </tr>
            <tr class="fieldtr">
              <td><input name="mail" id="mail" class="f_input" type="text" /></td>
              <td class="label">Email</td>
            </tr>
          </table></td>
        <?endif?>
      </tr>
      <tr>
        <td colspan="2" style="width:460px;"><div style="padding-top:4px;">
            <textarea name="message" id="message" onclick="setNewField(this.name, document.getElementById( 'dle-comments-form' ))">$MESSAGE$</textarea>
          </div></td>
      </tr>
      <?if($SECURITY_CODE$)?>
      <tr>
        <td class="slink">Код:</td>
        <td class="slink"><div style="padding-top:4px;">$SECURITY_CODE$</div></td>
      </tr>
      <?endif?>
      <tr>
        <td colspan="2" align="center"><div id="comments-form-buttons">
            <div id="comments-form-send">
              <input name="task_button" onclick="doAddComments();return false;" class="button" value="Отправить комментарий" type="submit">
            </div>
          </div></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
      </tr>
    </table>
  </div>
</div>
<!-- /Форма добавления комментариев -->